package com.vue.designPatterns.adapter;

/**
 * Created by Administrator on 2019/3/15.
 * 类的适配器模式,消除接口不匹配造成的兼容性问题
 * 整合已有资源?
 */
public class Adapter extends Source implements Targetable {

    @Override
    public void method2() {
        System.out.println("this is the targetable method!");
    }
}
